home *** CD-ROM | disk | FTP | other *** search
/ Totally for Newton 10 / PDA10.toast / mac / Packages / Programming / 1.x / DbPanel 0.91 / read me < prev   
Encoding:
Text File  |  1994-01-31  |  1.8 KB  |  36 lines  |  [TEXT/R*ch]

  1. DBPanel 0.91
  2.  
  3. This app is copyright © 1993 Matthew Dixon Cowles and his licensors. All rights
  4. reserved. It is free. Please use it if you like it and use ideas and code from it
  5. in your own apps, but if it is distributed substantially complete, only a nominal
  6. download or duplication fee may be charged.
  7.  
  8. Differences from version 0.9: Changed PD button to cycle through -1 and 0 in
  9. addition to 1, 2, and 3.
  10.  
  11. As usual, this app appears to work for me. That does not mean that it is
  12. bug-free. Use it at your own risk. No warranties are expressed, implied, or even
  13. hinted at.
  14.  
  15. DBPanel allows the user to set the trace, breakOnThrows, and printDepth debug
  16. globals without having to type into the inspector window.
  17.  
  18. The simplest thing to do is to run DBPanel and then run the app under test. As
  19. long as that app isn't based on a floating view, the floater should remain
  20. accessible. The floater can be moved by dragging so as to avoid obscuring the
  21. interesting parts of the app underneath.
  22.  
  23. I wrote DBPanel after seeing a similar app (by The Object Partnership? I confess
  24. that I can't recall the name exactly) that saved one from having to find a pause
  25. in the inspector output in which to type "trace:=NIL", which I often mis-type
  26. anyway. I took the idea a little farther, adding the breakOnThrows and printDepth
  27. globals and a viewIdleScript that keeps the checkboxes in sync if you do change
  28. the values by typing in the inspector window. The checkbox Trace sets and
  29. indicates the whether trace is set to NIL or 'functions, the BoT checkbox sets
  30. and indicates whether breakOnThrows is set to NIL or TRUE, and the PD button
  31. cycles the printDepth global through -1, 0, 1, 2, 3 and back to -1.
  32.  
  33. As usual, please send comments, bug reports, expressions of praise, and lucrative
  34. job offers to AppleLink address MONDO (MONDO@applelink.apple.com) or NewtonMail
  35. address MattC (MattC@online.apple.com).
  36.